export const asyncRoutes = [
  /* {
    name: "Personal",
    component: Layout,
    meta: {},
    children: [
      {
        name: "personal-center",
        path: "/personal/center",
        meta: {
          title: "个人中心",
          visible: false,
          icon: "icon-jichuguanli",
          page_type: 0,
        },
        component: () => import("@/views/personal/center/index.vue"),
      },
    ],
  },
  {
    path: "/business",
    name: "business",
    component: Layout,
    meta: {
      keepAlive: true,
      visible: true,
      title: "商家管理",
      icon: "icon-jichuguanli",
      page_type: 0,
    },
    children: [
      {
        path: "/business/list",
        name: "business-list",
        meta: {
          title: "商家列表",
          visible: true,
          icon: "icon-jichuguanli",
          page_type: 1,
        },
        component: () => import("@/views/business/list"),
      },
    ],
  },
  {
    path: "/channel",
    name: "channel",
    component: Layout,
    meta: {
      keepAlive: true,
      visible: true,
      title: "渠道管理",
      icon: "icon-jichuguanli",
      page_type: 0,
    },
    children: [
      {
        path: "/channel/list",
        name: "channel-list",
        meta: {
          title: "渠道列表",
          visible: true,
          icon: "icon-jichuguanli",
          page_type: 1,
        },
        component: () => import("@/views/channel/list"),
      },
    ],
  },
  {
    path: "/user",
    name: "user",
    component: Layout,
    meta: {
      keepAlive: true,
      visible: true,
      title: "客户管理",
      icon: "icon-jichuguanli",
      page_type: 0,
    },
    children: [
      {
        path: "/user/list",
        name: "user-list",
        meta: {
          title: "客户管理",
          visible: true,
          icon: "icon-jichuguanli",
          page_type: 1,
        },
        component: () => import("@userList"),
      },
      {
        path: "/user/grade",
        name: "user-grade",
        meta: {
          title: "等级管理",
          visible: true,
          icon: "icon-jichuguanli",
          page_type: 1,
        },
        component: () => import("@user/grade"),
      },
      {
        path: "/user/grade/pay",
        name: "user-pay",
        meta: {
          title: "会员等级/付费记录",
          visible: false,
          icon: "icon-jichuguanli",
          page_type: 1,
        },
        component: () => import("@user/pay"),
      },
      {
        path: "/user/popular",
        name: "user-popular",
        meta: {
          title: "人气认证",
          visible: true,
          icon: "icon-jichuguanli",
          page_type: 1,
        },
        component: () => import("@user/popular"),
      },
      {
        path: "/user/label",
        name: "user-label",
        meta: {
          title: "标签管理",
          visible: true,
          icon: "icon-jichuguanli",
          page_type: 1,
        },
        component: () => import("@user/label"),
      },
    ],
  },

  {
    path: "/society",
    name: "society",
    component: Layout,
    meta: {
      keepAlive: true,
      visible: true,
      title: "社群管理",
      icon: "icon-jichuguanli",
      page_type: 0,
    },
    children: [
      {
        path: "/society/club",
        name: "society-club",
        meta: {
          title: "俱乐部管理",
          visible: true,
          icon: "icon-jichuguanli",
          page_type: 1,
        },
        component: () => import("@/views/society/club"),
      },
      {
        path: "/society/party",
        name: "society-party",
        meta: {
          title: "聚会管理",
          visible: true,
          icon: "icon-jichuguanli",
          page_type: 1,
        },
        component: () => import("@/views/society/party"),
      },
    ],
  },
  {
    path: "/trade",
    name: "trade",
    component: Layout,
    meta: {
      keepAlive: true,
      visible: true,
      title: "交易管理",
      icon: "icon-jichuguanli",
      page_type: 0,
    },
    children: [
      {
        name: "trade-withdraw",
        path: "/trade/withdraw",
        meta: {
          title: "提现管理",
          visible: true,
          icon: "icon-jichuguanli",
          page_type: 1,
        },
        component: () => import("@/views/trade/withdraw"),
      },
      {
        name: "trade-recharge",
        path: "/trade/recharge",
        meta: {
          title: "充值管理",
          visible: true,
          icon: "icon-jichuguanli",
          page_type: 1,
        },
        component: () => import("@/views/trade/recharge"),
      },
      {
        name: "trade-tripartite",
        path: "/trade/tripartite",
        meta: {
          title: "三方支付",
          visible: true,
          icon: "icon-jichuguanli",
          page_type: 1,
        },
        component: () => import("@/views/trade/tripartite"),
      },
    ],
  },
  {
    path: "/system",
    name: "system",
    component: Layout,
    meta: {
      keepAlive: true,
      visible: true,
      title: "系统管理",
      icon: "icon-jichuguanli",
      page_type: 0,
    },
    children: [
      {
        name: "system-menu",
        path: "/system/menu",
        meta: {
          title: "菜单管理",
          visible: true,
          icon: "icon-jichuguanli",
          page_type: 1,
        },
        component: () => import("@system/menu/index.vue"),
      },
      {
        name: "system-role",
        path: "/system/role",
        meta: {
          title: "角色管理",
          visible: true,
          icon: "icon-jichuguanli",
          page_type: 1,
        },
        component: () => import("@system/role/index.vue"),
      },
      {
        name: "system-account",
        path: "/system/account",
        meta: {
          title: "账号管理",
          visible: true,
          icon: "icon-jichuguanli",
          page_type: 1,
        },
        component: () => import("@system/account/index.vue"),
      },
    ],
  },*/
];
